<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>H+移动工作平台 - 预算管理</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link rel="stylesheet" href="../css/styles.css">
</head>
<body>
  <div class="device-container">
    <!-- 状态栏 -->
    <div class="status-bar">
      <div class="status-bar-left">
        <span class="time">9:41</span>
      </div>
      <div class="status-bar-right">
        <i class="fas fa-signal signal"></i>
        <i class="fas fa-wifi wifi"></i>
        <i class="fas fa-battery-full battery"></i>
      </div>
    </div>
    
    <!-- 导航栏 -->
    <div class="nav-bar">
      <div class="nav-left">
        <a href="finance.html"><i class="fas fa-arrow-left"></i></a>
      </div>
      <div class="nav-title">预算管理</div>
      <div class="nav-right">
        <i class="fas fa-ellipsis-h"></i>
      </div>
    </div>
    
    <!-- 内容区域 -->
    <div class="app-content">
      <!-- 预算概览 -->
      <div class="p-4">
        <div class="bg-gradient-to-r from-blue-500 to-blue-600 rounded-lg p-4 text-white">
          <div class="flex justify-between items-center mb-2">
            <span class="text-lg font-bold">内科部门预算</span>
            <div class="flex items-center">
              <span class="text-sm mr-2">2024年度</span>
              <a href="budget_analysis.html" class="bg-white bg-opacity-20 px-2 py-1 rounded-full text-xs flex items-center">
                <i class="fas fa-chart-line mr-1"></i>
                <span>分析</span>
              </a>
            </div>
          </div>
          <div class="flex justify-between items-center mb-4">
            <div>
              <div class="text-sm opacity-80">年度总预算</div>
              <div class="text-2xl font-bold">¥1,200,000.00</div>
            </div>
            <div>
              <div class="text-sm opacity-80">已使用</div>
              <div class="text-2xl font-bold">¥320,560.50</div>
            </div>
          </div>
          <div class="w-full bg-blue-200 rounded-full h-2.5">
            <div class="bg-white h-2.5 rounded-full" style="width: 27%"></div>
          </div>
          <div class="flex justify-between text-sm mt-2">
            <span>已使用: 27%</span>
            <span>剩余: ¥879,439.50</span>
          </div>
        </div>
      </div>
      
      <!-- 预算分类 -->
      <div class="card mx-4 mb-4">
        <div class="card-header">
          <span>预算分类</span>
          <div class="flex items-center">
            <a href="budget_detail.html" class="text-primary text-sm mr-3">详情</a>
            <a href="budget_history.html" class="text-primary text-sm">历史</a>
          </div>
        </div>
        <div class="card-body p-0">
          <!-- 设备采购预算 -->
          <div class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-laptop-medical text-blue-500 mr-2"></i>
                <span>设备采购</span>
              </div>
              <div class="mt-1">
                <div class="w-full bg-gray-200 rounded-full h-1.5">
                  <div class="bg-blue-500 h-1.5 rounded-full" style="width: 45%"></div>
                </div>
                <div class="flex justify-between text-xs text-gray-500 mt-1">
                  <span>已使用: ¥180,000.00 (45%)</span>
                  <span>总额: ¥400,000.00</span>
                </div>
              </div>
            </div>
          </div>
          
          <!-- 培训预算 -->
          <div class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-graduation-cap text-green-500 mr-2"></i>
                <span>培训费用</span>
              </div>
              <div class="mt-1">
                <div class="w-full bg-gray-200 rounded-full h-1.5">
                  <div class="bg-green-500 h-1.5 rounded-full" style="width: 30%"></div>
                </div>
                <div class="flex justify-between text-xs text-gray-500 mt-1">
                  <span>已使用: ¥60,000.00 (30%)</span>
                  <span>总额: ¥200,000.00</span>
                </div>
              </div>
            </div>
          </div>
          
          <!-- 差旅预算 -->
          <div class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-plane text-purple-500 mr-2"></i>
                <span>差旅费用</span>
              </div>
              <div class="mt-1">
                <div class="w-full bg-gray-200 rounded-full h-1.5">
                  <div class="bg-purple-500 h-1.5 rounded-full" style="width: 15%"></div>
                </div>
                <div class="flex justify-between text-xs text-gray-500 mt-1">
                  <span>已使用: ¥22,500.00 (15%)</span>
                  <span>总额: ¥150,000.00</span>
                </div>
              </div>
            </div>
          </div>
          
          <!-- 办公用品预算 -->
          <div class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-pencil-alt text-orange-500 mr-2"></i>
                <span>办公用品</span>
              </div>
              <div class="mt-1">
                <div class="w-full bg-gray-200 rounded-full h-1.5">
                  <div class="bg-orange-500 h-1.5 rounded-full" style="width: 20%"></div>
                </div>
                <div class="flex justify-between text-xs text-gray-500 mt-1">
                  <span>已使用: ¥10,000.00 (20%)</span>
                  <span>总额: ¥50,000.00</span>
                </div>
              </div>
            </div>
          </div>
          
          <!-- 会议预算 -->
          <div class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-users text-red-500 mr-2"></i>
                <span>会议费用</span>
              </div>
              <div class="mt-1">
                <div class="w-full bg-gray-200 rounded-full h-1.5">
                  <div class="bg-red-500 h-1.5 rounded-full" style="width: 12%"></div>
                </div>
                <div class="flex justify-between text-xs text-gray-500 mt-1">
                  <span>已使用: ¥12,000.00 (12%)</span>
                  <span>总额: ¥100,000.00</span>
                </div>
              </div>
            </div>
          </div>
          
          <!-- 其他预算 -->
          <div class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-ellipsis-h text-gray-500 mr-2"></i>
                <span>其他费用</span>
              </div>
              <div class="mt-1">
                <div class="w-full bg-gray-200 rounded-full h-1.5">
                  <div class="bg-gray-500 h-1.5 rounded-full" style="width: 12%"></div>
                </div>
                <div class="flex justify-between text-xs text-gray-500 mt-1">
                  <span>已使用: ¥36,060.50 (12%)</span>
                  <span>总额: ¥300,000.00</span>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <!-- 预算使用记录 -->
      <div class="card mx-4 mb-4">
        <div class="card-header">
          <span>最近预算使用记录</span>
          <a href="budget_records.html" class="text-primary text-sm">全部</a>
        </div>
        <div class="card-body p-0">
          <div class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-laptop-medical text-blue-500 mr-2"></i>
                <span class="font-medium">超声波设备采购</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>使用日期：2024-03-25</span>
                <span class="mx-2">|</span>
                <span>金额：¥85,000.00</span>
              </div>
            </div>
            <div class="text-sm text-gray-500">设备采购</div>
          </div>
          
          <div class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-graduation-cap text-green-500 mr-2"></i>
                <span class="font-medium">心血管疾病培训</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>使用日期：2024-03-20</span>
                <span class="mx-2">|</span>
                <span>金额：¥12,500.00</span>
              </div>
            </div>
            <div class="text-sm text-gray-500">培训费用</div>
          </div>
          
          <div class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-plane text-purple-500 mr-2"></i>
                <span class="font-medium">北京学术会议</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>使用日期：2024-03-15</span>
                <span class="mx-2">|</span>
                <span>金额：¥4,580.00</span>
              </div>
            </div>
            <div class="text-sm text-gray-500">差旅费用</div>
          </div>
        </div>
      </div>
      
      <!-- 预算申请 -->
      <div class="card mx-4 mb-4">
        <div class="card-header">
          <span>预算申请</span>
        </div>
        <div class="card-body p-0">
          <a href="budget_apply.html" class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-plus-circle text-blue-500 mr-2"></i>
                <span>申请追加预算</span>
              </div>
              <div class="text-xs text-gray-500 mt-1">当预算不足时申请追加</div>
            </div>
            <i class="fas fa-chevron-right text-gray-400"></i>
          </a>
          
          <a href="budget_transfer.html" class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-exchange-alt text-green-500 mr-2"></i>
                <span>预算调整申请</span>
              </div>
              <div class="text-xs text-gray-500 mt-1">在不同预算类别间调整</div>
            </div>
            <i class="fas fa-chevron-right text-gray-400"></i>
          </a>
        </div>
      </div>
      
      <!-- 预算分析 -->
      <div class="card mx-4 mb-4">
        <div class="card-header">
          <span>预算分析</span>
          <a href="budget_analysis.html" class="text-primary text-sm">详情</a>
        </div>
        <div class="card-body">
          <div class="flex justify-between mb-3">
            <div class="text-gray-500">预算使用进度</div>
            <div class="font-medium text-blue-500">正常</div>
          </div>
          <div class="flex justify-between mb-3">
            <div class="text-gray-500">预计年度结余</div>
            <div class="font-medium">¥150,000.00</div>
          </div>
          <div class="flex justify-between">
            <div class="text-gray-500">预算使用效率</div>
            <div class="font-medium">85%</div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 底部标签栏 -->
    <div class="tab-bar">
      <a href="home.html" class="tab-item">
        <i class="fas fa-home tab-icon"></i>
        <span>首页</span>
      </a>
      <a href="asset.html" class="tab-item">
        <i class="fas fa-laptop tab-icon"></i>
        <span>资产</span>
      </a>
      <a href="finance.html" class="tab-item active">
        <i class="fas fa-wallet tab-icon"></i>
        <span>财务</span>
      </a>
      <a href="material.html" class="tab-item">
        <i class="fas fa-box tab-icon"></i>
        <span>物资</span>
      </a>
      <a href="profile.html" class="tab-item">
        <i class="fas fa-user tab-icon"></i>
        <span>我的</span>
      </a>
    </div>
  </div>
</body>
</html>